package model.VO;

import model.entity.OrderDetail;

import java.util.List;

public class OrderVO {
    private int id;
    private String number;
    private int status;
    private int user_id;
    private String order_time;
    private String checkout_time;
    private int pay_method;
    private int pay_status;
    private float amount;
    private String takeout_number;
    private int type;
    private String remark;
    private String phone;
    private int shop_id;
    private String shop_address;
    private String user_name;
    private String cancel_reason;
    private String cancel_time;
    private String shop_reply;
    private List<OrderDetail> orderDetailList;


    public OrderVO() {
    }

    public OrderVO(int id, String number, int status, int user_id, String order_time, String checkout_time, int pay_method, int pay_status, float amount, String takeout_number, int type, String remark, String phone, int shop_id, String shop_address, String user_name, String cancel_reason, String cancel_time, String shop_reply, List<OrderDetail> orderDetailList) {
        this.id = id;
        this.number = number;
        this.status = status;
        this.user_id = user_id;
        this.order_time = order_time;
        this.checkout_time = checkout_time;
        this.pay_method = pay_method;
        this.pay_status = pay_status;
        this.amount = amount;
        this.takeout_number = takeout_number;
        this.type = type;
        this.remark = remark;
        this.phone = phone;
        this.shop_id = shop_id;
        this.shop_address = shop_address;
        this.user_name = user_name;
        this.cancel_reason = cancel_reason;
        this.cancel_time = cancel_time;
        this.shop_reply = shop_reply;
        this.orderDetailList = orderDetailList;
    }

    /**
     * 获取
     * @return id
     */
    public int getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(int id) {
        this.id = id;
    }

    /**
     * 获取
     * @return number
     */
    public String getNumber() {
        return number;
    }

    /**
     * 设置
     * @param number
     */
    public void setNumber(String number) {
        this.number = number;
    }

    /**
     * 获取
     * @return status
     */
    public int getStatus() {
        return status;
    }

    /**
     * 设置
     * @param status
     */
    public void setStatus(int status) {
        this.status = status;
    }

    /**
     * 获取
     * @return user_id
     */
    public int getUser_id() {
        return user_id;
    }

    /**
     * 设置
     * @param user_id
     */
    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    /**
     * 获取
     * @return order_time
     */
    public String getOrder_time() {
        return order_time;
    }

    /**
     * 设置
     * @param order_time
     */
    public void setOrder_time(String order_time) {
        this.order_time = order_time;
    }

    /**
     * 获取
     * @return checkout_time
     */
    public String getCheckout_time() {
        return checkout_time;
    }

    /**
     * 设置
     * @param checkout_time
     */
    public void setCheckout_time(String checkout_time) {
        this.checkout_time = checkout_time;
    }

    /**
     * 获取
     * @return pay_method
     */
    public int getPay_method() {
        return pay_method;
    }

    /**
     * 设置
     * @param pay_method
     */
    public void setPay_method(int pay_method) {
        this.pay_method = pay_method;
    }

    /**
     * 获取
     * @return pay_status
     */
    public int getPay_status() {
        return pay_status;
    }

    /**
     * 设置
     * @param pay_status
     */
    public void setPay_status(int pay_status) {
        this.pay_status = pay_status;
    }

    /**
     * 获取
     * @return amount
     */
    public float getAmount() {
        return amount;
    }

    /**
     * 设置
     * @param amount
     */
    public void setAmount(float amount) {
        this.amount = amount;
    }

    /**
     * 获取
     * @return takeout_number
     */
    public String getTakeout_number() {
        return takeout_number;
    }

    /**
     * 设置
     * @param takeout_number
     */
    public void setTakeout_number(String takeout_number) {
        this.takeout_number = takeout_number;
    }

    /**
     * 获取
     * @return type
     */
    public int getType() {
        return type;
    }

    /**
     * 设置
     * @param type
     */
    public void setType(int type) {
        this.type = type;
    }

    /**
     * 获取
     * @return remark
     */
    public String getRemark() {
        return remark;
    }

    /**
     * 设置
     * @param remark
     */
    public void setRemark(String remark) {
        this.remark = remark;
    }

    /**
     * 获取
     * @return phone
     */
    public String getPhone() {
        return phone;
    }

    /**
     * 设置
     * @param phone
     */
    public void setPhone(String phone) {
        this.phone = phone;
    }

    /**
     * 获取
     * @return shop_id
     */
    public int getShop_id() {
        return shop_id;
    }

    /**
     * 设置
     * @param shop_id
     */
    public void setShop_id(int shop_id) {
        this.shop_id = shop_id;
    }

    /**
     * 获取
     * @return shop_address
     */
    public String getShop_address() {
        return shop_address;
    }

    /**
     * 设置
     * @param shop_address
     */
    public void setShop_address(String shop_address) {
        this.shop_address = shop_address;
    }

    /**
     * 获取
     * @return user_name
     */
    public String getUser_name() {
        return user_name;
    }

    /**
     * 设置
     * @param user_name
     */
    public void setUser_name(String user_name) {
        this.user_name = user_name;
    }

    /**
     * 获取
     * @return cancel_reason
     */
    public String getCancel_reason() {
        return cancel_reason;
    }

    /**
     * 设置
     * @param cancel_reason
     */
    public void setCancel_reason(String cancel_reason) {
        this.cancel_reason = cancel_reason;
    }

    /**
     * 获取
     * @return cancel_time
     */
    public String getCancel_time() {
        return cancel_time;
    }

    /**
     * 设置
     * @param cancel_time
     */
    public void setCancel_time(String cancel_time) {
        this.cancel_time = cancel_time;
    }

    /**
     * 获取
     * @return shop_reply
     */
    public String getShop_reply() {
        return shop_reply;
    }

    /**
     * 设置
     * @param shop_reply
     */
    public void setShop_reply(String shop_reply) {
        this.shop_reply = shop_reply;
    }

    /**
     * 获取
     * @return orderDetailList
     */
    public List<OrderDetail> getOrderDetailList() {
        return orderDetailList;
    }

    /**
     * 设置
     * @param orderDetailList
     */
    public void setOrderDetailList(List<OrderDetail> orderDetailList) {
        this.orderDetailList = orderDetailList;
    }

    public String toString() {
        return "OrderVO{id = " + id + ", number = " + number + ", status = " + status + ", user_id = " + user_id + ", order_time = " + order_time + ", checkout_time = " + checkout_time + ", pay_method = " + pay_method + ", pay_status = " + pay_status + ", amount = " + amount + ", takeout_number = " + takeout_number + ", type = " + type + ", remark = " + remark + ", phone = " + phone + ", shop_id = " + shop_id + ", shop_address = " + shop_address + ", user_name = " + user_name + ", cancel_reason = " + cancel_reason + ", cancel_time = " + cancel_time + ", shop_reply = " + shop_reply + ", orderDetailList = " + orderDetailList + "}";
    }
}
